package com.ezsoft.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ezsoft.test.entity.User;
import com.ezsoft.test.mapper.UserMapper;

/**
 * @author gujianhua
 * @version 创建时间：2018年7月2日 下午4:51:09 类说明
 */
@Service("userService")
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    
    @Override
    public User getUserByUsername(String username) {
        User user = userMapper.selectUser1(username);
        return user;
    }

}
